home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OK PC 32
/
OK PC 32.zip
/
OK PC 32 - Ishar & Demos (III-95)
/
OKPC32.iso
/
ishar3
/
insta.bat
< prev
next >
Wrap
DOS Batch File
|
1994-06-20
|
770b
|
48 lines
echo off
IF %1&==& GOTO Erreur
IF %2&==& GOTO Erreur
IF %0==INSTA GOTO :lecture
Cls
echo
echo To install this game on your hard disk, you must
echo have at least 2 Mbytes of free disk space.
echo
pause
md %2\I3DEMO
copy %0.BAT %2\I3DEMO\INSTA.BAT
%2
cd %2\I3DEMO
INSTA %1 %2
goto :fin
:lecture
xcopy %1\*.*
if errorlevel 2 goto :erreur2
:reussi
echo
echo Installation finished.
echo To play, choose START.EXE from the I3DEMO sub-directory.
echo
pause
Goto Fin
:erreur2
echo
echo ***** Procedure interrupted. *****
echo ***** Installation failed. *****
echo
pause
goto :fin
:Erreur
echo
echo INSTALL Source_Drive Destination_Drive
echo Ex: INSTALL A: C:
echo
:Fin